package org.example.platform.design.zerenlian.shizhan;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class SanJi extends ShenPo {
    private SimpleDateFormat f = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");// 时间格式化

    @Override
    public AuthInfo getResult(AuthInfo authInfo) throws ParseException {

        // 三级审批
        if (null == authInfo.getDate()) {
            return new AuthInfo("0001", "单号：", authInfo.getId(), " 状态：待三级审批负责人 ", "王工");
        } else {

            return shenPo.getResult(authInfo);
        }
    }
}
